<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Iniuriam: /home/etu/v/p1115890/LIF7/EncoreUn/iniuriam/src/affichage_SDL_Editeur.c File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Iniuriam
   &#160;<span id="projectnumber">alpha 1</span>
   </div>
   <div id="projectbrief"> RPG futuriste</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">/home/etu/v/p1115890/LIF7/EncoreUn/iniuriam/src/affichage_SDL_Editeur.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="affichage__SDL__Editeur_8h_source.html">affichage_SDL_Editeur.h</a>&quot;</code><br/>
</div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__SDL__Editeur_8c.html#abd8bbcfabb3ddef2ccaafb9928a37b95">min</a> (int a, int b)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__SDL__Editeur_8c.html#afc738a528f30c7d0390af3c4be927198">maxi</a> (int a, int b)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__SDL__Editeur_8c.html#a442fa66a8a9c566eb0fcf7fad22a96dd">affChipset</a> (<a class="el" href="structTerrain.html">Terrain</a> *ter, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : ter et ecran initalisé et remplis <br/>
 Postconditions : affiche le chipset.  <a href="#a442fa66a8a9c566eb0fcf7fad22a96dd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__SDL__Editeur_8c.html#ac24f9e117f2dc2b99ca0b46b12845949">affEditeur</a> (<a class="el" href="structTerrain.html">Terrain</a> *ter, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : ter et ecran initalisé et remplis <br/>
 Postconditions : affiche l'editeur de carte.  <a href="#ac24f9e117f2dc2b99ca0b46b12845949"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__SDL__Editeur_8c.html#a38e95e685e9d176130226aa50b6ed67c">affCarte</a> (<a class="el" href="structTerrain.html">Terrain</a> *ter, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : ter et ecran initalisé et remplis <br/>
 Postconditions : affiche la carte.  <a href="#a38e95e685e9d176130226aa50b6ed67c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__SDL__Editeur_8c.html#a7d63fa4b4de460041921aa1dfa8f57df">eventEditeurSDL</a> (<a class="el" href="structTerrain.html">Terrain</a> *ter, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : ter et ecran initalisé et remplis <br/>
 Postconditions : gère les évenements de l'éditeur de carte.  <a href="#a7d63fa4b4de460041921aa1dfa8f57df"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__SDL__Editeur_8c.html#aa379e15ad7ba7623e5edebd274e10960">eventEditeurObjet</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : SDL est initialisé <br/>
 Postconditions : gère les évenements de l'éditeur d'objet. Retourne le type d'event réalisé.  <a href="#aa379e15ad7ba7623e5edebd274e10960"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__SDL__Editeur_8c.html#a94d4bfc76d8d1b7f0d18b53c3e278a11">afficherEditeurObjet</a> (SDL_Surface *ecran, TTF_Font *police)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : police et ecran sont initalisés, 0&lt;type&lt;8 <br/>
 Postconditions : affiche les différentes pages de l'éditeur d'objet, selon le type.  <a href="#a94d4bfc76d8d1b7f0d18b53c3e278a11"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__SDL__Editeur_8c.html#af8f99a4428aa72bcd061ac3f95e7a0cf">editerObjet</a> (SDL_Surface *ecran, TTF_Font *police)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__SDL__Editeur_8c.html#a126db6bf59db1b4236f71ee6e15fbbde">editerCarte</a> (SDL_Surface *ecran, <a class="el" href="structTerrain.html">Terrain</a> *terrain)</td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a38e95e685e9d176130226aa50b6ed67c"></a><!-- doxytag: member="affichage_SDL_Editeur.c::affCarte" ref="a38e95e685e9d176130226aa50b6ed67c" args="(Terrain *ter, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__SDL__Editeur_8h.html#a38e95e685e9d176130226aa50b6ed67c">affCarte</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structTerrain.html">Terrain</a> *&#160;</td>
          <td class="paramname"><em>ter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : ter et ecran initalisé et remplis <br/>
 Postconditions : affiche la carte. </p>

</div>
</div>
<a class="anchor" id="a442fa66a8a9c566eb0fcf7fad22a96dd"></a><!-- doxytag: member="affichage_SDL_Editeur.c::affChipset" ref="a442fa66a8a9c566eb0fcf7fad22a96dd" args="(Terrain *ter, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__SDL__Editeur_8h.html#a442fa66a8a9c566eb0fcf7fad22a96dd">affChipset</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structTerrain.html">Terrain</a> *&#160;</td>
          <td class="paramname"><em>ter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : ter et ecran initalisé et remplis <br/>
 Postconditions : affiche le chipset. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>RODARIE Dimitri, VERSAEVEL Romain, FLORES Isabelle </dd></dl>

</div>
</div>
<a class="anchor" id="ac24f9e117f2dc2b99ca0b46b12845949"></a><!-- doxytag: member="affichage_SDL_Editeur.c::affEditeur" ref="ac24f9e117f2dc2b99ca0b46b12845949" args="(Terrain *ter, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__SDL__Editeur_8h.html#ac24f9e117f2dc2b99ca0b46b12845949">affEditeur</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structTerrain.html">Terrain</a> *&#160;</td>
          <td class="paramname"><em>ter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : ter et ecran initalisé et remplis <br/>
 Postconditions : affiche l'editeur de carte. </p>

</div>
</div>
<a class="anchor" id="a94d4bfc76d8d1b7f0d18b53c3e278a11"></a><!-- doxytag: member="affichage_SDL_Editeur.c::afficherEditeurObjet" ref="a94d4bfc76d8d1b7f0d18b53c3e278a11" args="(SDL_Surface *ecran, TTF_Font *police)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__SDL__Editeur_8h.html#a94d4bfc76d8d1b7f0d18b53c3e278a11">afficherEditeurObjet</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TTF_Font *&#160;</td>
          <td class="paramname"><em>police</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : police et ecran sont initalisés, 0&lt;type&lt;8 <br/>
 Postconditions : affiche les différentes pages de l'éditeur d'objet, selon le type. </p>

</div>
</div>
<a class="anchor" id="a126db6bf59db1b4236f71ee6e15fbbde"></a><!-- doxytag: member="affichage_SDL_Editeur.c::editerCarte" ref="a126db6bf59db1b4236f71ee6e15fbbde" args="(SDL_Surface *ecran, Terrain *terrain)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__SDL__Editeur_8h.html#a14af753dae33f2f309679ffc8e2ff89d">editerCarte</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structTerrain.html">Terrain</a> *&#160;</td>
          <td class="paramname"><em>terrain</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af8f99a4428aa72bcd061ac3f95e7a0cf"></a><!-- doxytag: member="affichage_SDL_Editeur.c::editerObjet" ref="af8f99a4428aa72bcd061ac3f95e7a0cf" args="(SDL_Surface *ecran, TTF_Font *police)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__SDL__Editeur_8h.html#a0f95032c241bc097ef2f573bcca33b1f">editerObjet</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TTF_Font *&#160;</td>
          <td class="paramname"><em>police</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa379e15ad7ba7623e5edebd274e10960"></a><!-- doxytag: member="affichage_SDL_Editeur.c::eventEditeurObjet" ref="aa379e15ad7ba7623e5edebd274e10960" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char <a class="el" href="affichage__SDL__Editeur_8h.html#aa379e15ad7ba7623e5edebd274e10960">eventEditeurObjet</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : SDL est initialisé <br/>
 Postconditions : gère les évenements de l'éditeur d'objet. Retourne le type d'event réalisé. </p>

</div>
</div>
<a class="anchor" id="a7d63fa4b4de460041921aa1dfa8f57df"></a><!-- doxytag: member="affichage_SDL_Editeur.c::eventEditeurSDL" ref="a7d63fa4b4de460041921aa1dfa8f57df" args="(Terrain *ter, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__SDL__Editeur_8h.html#a7d63fa4b4de460041921aa1dfa8f57df">eventEditeurSDL</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structTerrain.html">Terrain</a> *&#160;</td>
          <td class="paramname"><em>ter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : ter et ecran initalisé et remplis <br/>
 Postconditions : gère les évenements de l'éditeur de carte. </p>
<p>Défilement du chipset vers le haut</p>
<p>Défilement du chipset vers le bas</p>
<p>Sauvegarde de la carte</p>
<p>Chargement de la carte </p>

</div>
</div>
<a class="anchor" id="afc738a528f30c7d0390af3c4be927198"></a><!-- doxytag: member="affichage_SDL_Editeur.c::maxi" ref="afc738a528f30c7d0390af3c4be927198" args="(int a, int b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="affichage__SDL__Editeur_8c.html#afc738a528f30c7d0390af3c4be927198">maxi</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="abd8bbcfabb3ddef2ccaafb9928a37b95"></a><!-- doxytag: member="affichage_SDL_Editeur.c::min" ref="abd8bbcfabb3ddef2ccaafb9928a37b95" args="(int a, int b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="deplacement_8h.html#af11c361f5022b7e25957a7a69e435317">min</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="author"><dt><b>Author:</b></dt><dd>RODARIE Dimitri, VERSAEVEL Romain, FLORES Isabelle </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Jun 4 2013 08:45:33 for Iniuriam by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
